]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dateMenu: Remove obsolete comment
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 18 Feb 2015 05:02:37 +0000 (06:02 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 18 Feb 2015 05:10:24 +0000 (06:10 +0100)
The events list has been always defined since commit ca2e09fe8be2
about 2 1/2 years ago ...

js/ui/dateMenu.js

index 7ff75f788a86c728a6308fb547a5782edb0a629b..5dbdfb82351995a039ae182ff526e91ce29bc8c5 100644 (file)
@@ -80,10 +80,6 @@ const DateMenuButton = new Lang.Class({
 
         this._calendar.connect('selected-date-changed',
                                Lang.bind(this, function(calendar, date) {
-                                  // we know this._eventList is defined here, because selected-data-changed
-                                  // only gets emitted when the user clicks a date in the calendar,
-                                  // and the calender makes those dates unclickable when instantiated with
-                                  // a null event source
                                    this._eventList.setDate(date);
 
                                    // Make the button reactive only if the selected date is not the current date.